<?php /* Smarty version 2.6.19, created on 2008-07-03 17:40:04
         compiled from another/send.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'config_load', 'another/send.tpl', 1, false),array('modifier', 'escape', 'another/send.tpl', 11, false),)), $this); ?>
<?php echo smarty_function_config_load(array('file' => "index.conf"), $this);?>
<?php echo '<?xml'; ?>
 version="1.0" encoding="utf-8"<?php echo '?>'; ?>

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
    <card title="Send message">
        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/global_menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

        <b><a href="/another/send/<?php echo $this->_tpl_vars['data']['user_id']; ?>
/">Send</a> message to 
        <a href="/another/profile/<?php echo $this->_tpl_vars['data']['user_id']; ?>
/"><?php echo ((is_array($_tmp=$this->_tpl_vars['data']['user_login'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a></b><br />
        
        <b><?php echo $this->_tpl_vars['error']['empty']; ?>
</b><br />
        
        <?php if (! $this->_tpl_vars['send']): ?>
            Title <b><?php echo $this->_tpl_vars['error']['title']; ?>
</b><br />
            <input type="text" name="title" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['form']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" maxlength="150" /><br />
            Message <b><?php echo $this->_tpl_vars['error']['message']; ?>
</b><br />
            <textarea name="content" cols="25" rows="5"><?php echo ((is_array($_tmp=$this->_tpl_vars['form']['content'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea><br />
            <anchor>Submit
                <go href="/<?php echo $this->_tpl_vars['sys_path']; ?>
/" method="post">
                    <postfield name="form[title]" value="$(title)"/>
                    <postfield name="form[content]" value="$(content)"/>
                </go>
            </anchor>
        <?php else: ?>
            <p>Message was send</p>
        <?php endif; ?><br />
        
        <a href="/another/index/<?php echo $this->_tpl_vars['data']['user_id']; ?>
/">User menu</a>
    </card>
</wml>